#ifndef GAMELISTENER_H
#define GAMELISTENER_H

#include <map>
#include <list>
#include <functional>
#include <stdint.h>
#include <string>
#include <boost/function.hpp>
#include <boost/asio.hpp>
#include <TcpServer.h>

using namespace std;





class GameListener{
    struct Impl;
    Impl *impl_;

    GameListener();
    ~GameListener();
	static  GameListener* inst;
public:

	static GameListener *instance();

	bool dispatch( ClientHost*, const std::string &);
	HostCallback getCallback();
};




#endif // GAMELISTENER_H
